home *** CD-ROM | disk | FTP | other *** search
- TICTAC - A Tic-Tac-Toe game that learns.
-
- This is my first attempt at any kind of AI programming. It is basically a test
- bed for some techniques I intend to use in other games (a checkers game in
- particular) to make the games play better.
-
- The following files should be in this archive:
-
- TICTAC.C\ . . . Source and include file for the actual game program.
- TICTAC.H/
- TTSUBS.ASM. . . Source for some assembly-language subroutines. Mostly for
- handling the mouse.
- TICTAC.EXE. . . Executable version of the game
- DUMPMEM.C . . . Source for a program to dump TICTAC.MEM in a readable form
- DUMPMEM.EXE . . Executable version
- MAKEFILE. . . . MAKEFILE compatible with NMAKE, NDMAKE, and OpusMAKE.
- TICLIB.LIB. . . A small library of screen-handling functions (source not
- provided).
-
- The game works like you'd expect - you play the Xs, the computer plays the Os.
- You take turns going first. You can select the square you want to take by
- typing a number from 1 to 9 (or, if you have a mouse, by clicking on the
- square). The winning squares will blink.
-
- When you leave the program, the file TICTAC.MEM will be created in the
- current directory. This file contains the game's "memory", and, if it's
- found when the game starts, it will be loaded. To see how much the game has
- "learned" at any point, just erase or rename the file.
-
- DUMPMEM was a program I wrote to verify that things were being stored
- correctly to the data file. It will dump TICTAC.MEM to TMDUMP.TXT in a simple
- format that shows how many boards are stored, and the associated weights for
- each position.
-
- This whole mess was created with Microsoft C 6.00, Microsoft MASM 5.10, and
- OpusMAKE 5.2.
-
- Comments can be sent to me in the following ways:
-
- GEnie mail address A.BRENNER
- BIX user albrenner
- Fidonet address 1:132/122.5 (Aaron Brenner)
-
- Flames can be sent anywhere else.
-